package pri.damai.xiaowu.usercenter.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import pri.damai.xiaowu.common.core.vo.ResultVO;
import pri.damai.xiaowu.common.log.anno.XiaoWuLog;
import pri.damai.xiaowu.usercenter.common.dto.LoginDTO;
import pri.damai.xiaowu.usercenter.common.dto.UserDTO;

/**
 *
 * @Desc
 * @Author DaMai
 * @Date 2022/3/7 9:22
 * 但行好事，莫问前程。
 */
@FeignClient("user-center")
public interface UserCenterFeignClient {

    @PostMapping("/user1/getUserFeign")
    ResultVO<UserDTO> getUser(@RequestBody LoginDTO loginDTO);

}
